#pragma once

#include <iostream>

#define CONV(v) (struct sockaddr*)(v)
#define DIE(code) exit(code)

enum 
{
    USAGE_ERR = 1,
    SOCKET_ERR,
    BIND_ERR
};